<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Todo登录</title>
<link rel="stylesheet" type="text/css" href="bootstrap-3.3.7-dist/css/bootstrap.min.css">
<script type="text/javascript" src="bootstrap-3.3.7-dist/js/jquery.min.js"></script>
<script type="text/javascript" src="bootstrap-3.3.7-dist/js/bootstrap.js"></script>
<script type="text/javascript" src="jQuery/jquery-3.1.1.js"></script>

</head>

<body>
<div class="container" id="app">
		<div class="row">
			<div class="col-md-offset-4 col-md-4">
				<div class="page-header">
					TODO登录
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-offset-4 col-md-4">
				<form action="${pageContext.servletContext.contextPath }/login.do" method="get">
					<label for="exampleInputEmail1">请输入登录名：</label>
					<input type="text" class="form-control" name="username" placeholder="请输入登录名"></br></br>
					
					<label for="exampleInputEmail1">请输入登录密码：</label>
					<input type="password" class="form-control" name="password" id="password" placeholder="请输入登录密码">
					<span style="color: red;">${error }</span>
					</br></br>
					<button type="submit" class="btn btn-default btn-info" v-on:click="login">登录</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<a href="register.jsp" class="btn-default btn btn-info">注册</a>
				</form>
			</div>
		</div>
</div>
</body>
</html>